{% include 'app01/base.html' %}

{% block content %}

    <div class = "container">
        <div class = "row">
            <div class = "col-md-2"></div>
            <div class = "col-md-8">
                <div style = "height: 100px;"></div>
                <div class="card shadow">
                    <div class="card-header text-center text-right bg-dark">
                        <h3 class="card-title">添加子工序</h3>
                    </div>
                    <div class="card-body">
                        <form action = "{% url 'add_supprocess' %}" method="post">
                            {% csrf_token %}
                            {{ s_form.as_p }}
                            <div class="text-center">
                                <button type="submit" name="s-button" class="btn btn-primary">提交</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class = "col-md-2"></div>
        </div>
    </div>


{% endblock %}